package battlecruiser.board.cell;

import battlecruiser.board.cell.coordinate.Coordinate;

/**
 * @author tymoshya
 * @since 14.06.12
 */
public class Cell {
    private Coordinate coordinate;
    private CellStatus status;

    public Cell(Coordinate coordinate, CellStatus status) {
        this.coordinate = coordinate;
        this.status = status;
    }

    public void setStatus(CellStatus status) {
        this.status = status;
    }

    public Coordinate getCoordinate() {
        return coordinate;
    }

    public CellStatus getStatus() {
        return status;
    }

    @Override
    public String toString() {
        return status.toString();
    }
}
